﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lenovo.CFI.Common
{
    public class TopicReviewer
    {
        public TopicReviewer(int id, int topicID, string reviewer, string agent)
        {
            this.id = id;
            this.topicID = topicID;
            this.reviewer = reviewer;
            this.agent = agent;
        }

        public TopicReviewer(int topicID, string reviewer)
        {
            this.topicID = topicID;
            this.reviewer = reviewer;
        }

        private int id;
        private int topicID;
        private string reviewer;
        private string agent;

        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        public int TopicID
        {
            get { return topicID; }
            set { topicID = value; }
        }

        public string Reviewer
        {
            get { return reviewer; }
            set { reviewer = value; }
        }

        /// <summary>
        /// 评审委托人，默认是自己，表示未委托
        /// </summary>
        public string Agent
        {
            get { return agent; }
            set { agent = value; }
        }
    }
}
